package cloud.server1.api;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "CLOUD-SERVER2")
public interface HelloService2 {
	
	 @RequestMapping(value = "/hello",method = RequestMethod.GET)
	public String hello();
}
